home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Grand Slam 3
/
Grand Slam 3.iso
/
029
/
asa.arj
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-11-22
|
5KB
|
207 lines
cls
@echo off
echo.
echo.
echo Welcome to OzPacks' South Australia Ver 5 scenery installation.
echo.
echo Release date 22nd November 1994
echo.
echo.
echo This scenery is the South Australian component of the Oz FS5
echo Scenery Portfolio by The OzPack, an Australian based team of
echo volunteers who are dedicated to producing high quality FS5 scenery,
echo covering the entire Australian island-continent, under the freeware
echo principle. This is being accomplished using a series of pre-planned,
echo and ongoing state-by-state revisions wherein, with each state's next
echo revision, more detail is progressively introduced. Please see the
echo accompanying text files for further information.
echo.
echo.
echo.
choice . Proceed with installation of the South Australian scenery ? Yes No
if errorlevel 2 goto no1
if errorlevel 1 goto yes1
:no1
cls
echo.
echo.
echo You have cancelled the South Australian scenery installation.
echo.
echo.
echo.
goto end
:yes1
cls
echo.
echo.
echo The South Australian scenery will now install...
echo.
echo ( Source ) From %1
echo.
echo ( FS5 Main Directory ) To %2
echo.
echo.
echo.
choice . Does the above state the correct installation directories ?
if errorlevel 2 goto no2
if errorlevel 1 goto yes2
:no2
cls
echo.
echo.
echo Correct installation syntax
echo.
echo.
echo Install [Full path source directory] [Full path to FS5 main directory]
echo.
echo.
echo Example 1:- install c:\temp c:\fltsim
echo.
echo Example 2:- INSTALL A: D:\GAMES\FS5
echo.
echo.
echo.
echo.
echo Re-run the installation with the correct path information. Install cancelled.
echo.
echo.
echo.
goto end
:yes2
cls
echo.
echo.
echo Install will provide a menu with installation options.
echo.
echo Where an existing version(s) of a file(s) is present
echo.
echo Install will copy the existing file(s) to a FS5 sub-directory
echo.
echo called " BIN " before any deletions are made.
echo.
echo.
echo.
pause
cls
echo.
echo.
echo *** PLEASE NOTE ***
echo.
echo That while Install attempts to save existing files YOU SHOULD
echo.
echo BACK-UP at least your FS5 sub-directories Scenery, Texture, and
echo.
echo if you already have them, FS5 sub-directories BIN and OZPACK.
echo.
echo * When anything goes wrong, only a back-up will save you. *
echo.
echo.
echo.
choice . Press Y to continue Press N to exit to make backups
if errorlevel 2 goto no1
if errorlevel 1 goto yes2a
:yes2a
cls
echo.
echo.
echo Please select the required operation:-
echo.
echo.
echo A. Install new South Australian scenery.
echo.
echo B. Install new grass & dirt runways.
echo.
echo C. Install manuals.
echo.
echo D. Exit install.
echo.
echo.
echo.
choice /c:abcd
if errorlevel 4 goto d
if errorlevel 3 goto c
if errorlevel 2 goto b
if errorlevel 1 goto a
:d
cls
echo.
echo.
echo You choose to end the South Australian scenery installation.
echo.
echo.
echo.
goto end
:c
cls
echo.
echo.
echo The scenery's' document files will be copied
echo.
echo to the %2\OzPack directory.
echo.
echo.
echo.
if not exist %2\OzPack\*.* md %2\OzPack
copy %1\Read_SA.1st %2\OzPack\*.* /v
copy %1\NAV_SA.TXT %2\OzPack\*.* /v
copy %1\Gen_SA.txt %2\OzPack\*.* /v
echo.
echo.
echo.
pause
goto yes2a
:b
cls
if not exist %2\bin\*.* md %2\bin
if not exist %2\texture\runway00.r8 goto bb
copy %2\texture\runway00.r8 %2\bin\*.* /v
del %2\texture\runway00.r8
:bb
copy %2\texture\runway03.r8 %2\bin\*.* /v
del %2\texture\runway03.r8
if not exist %2\ozpack\*.* md %2\ozpack
copy %1\dirt.doc %2\ozpack\*.* /v
copy %1\grass.doc %2\ozpack\*.* /v
copy %1\runway0*.* %2\texture\*.* /v
echo.
echo.
echo.
pause
goto yes2a
:a
cls
if exist %2\scenery\AUS_SANT.bgl goto ab
:ac
if not exist %2\bin\*.* md %2\bin
if not exist %2\scenery\AUS_SA*.bgl goto aa
copy %2\scenery\AUS_SA*.BGL %2\bin\*.* /v
del %2\scenery\AUS_SA*.BGL
:aa
copy %1\AUS_SA*.BGL %2\scenery\*.* /v
echo.
echo.
echo.
pause
goto yes2a
:ab
echo.
echo.
echo Note that you have the older combination scenery file
echo " AUS_SANT.BGL " ( South Australia & Northern Territory )
echo presently installed in your FS5 Scenery sub-directory.
echo Install will copy this to the FS5 sub-directory " BIN "
echo as it conflicts somewhat with the newer " AUS_SA*.BGL "
echo ( South Australia only ) scenery. There is now available a
echo current " AUS_NT.BGL " ( Northern Territory only ) file
echo to replace the Northern Territory only scenery. This newer
echo Northern Territory only scenery is exactly the same as was on
echo the NT component of the original SA&NT combination file.
echo.
echo.
echo.
echo.
pause
goto ac
:end